package org.red_cross_service.domain.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 轮播图管理表
 * @TableName rc_carousel
 */
@TableName(value ="rc_carousel")
@Data
public class CarouselEntity implements Serializable {
    /**
     * 轮播图ID
     */
    @TableId(value = "carousel_id", type = IdType.AUTO)
    private Long carouselId;

    /**
     * 图片URL
     */
    @TableField(value = "image_url")
    private String imageUrl;

    /**
     * 标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 跳转链接
     */
    @TableField(value = "link_url")
    private String linkUrl;

    /**
     * 排序号
     */
    @TableField(value = "sort_order")
    private Integer sortOrder;

    /**
     * 状态(0:启用 1:禁用)
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 创建人ID
     */
    @TableField(value = "create_user_id")
    private Long createUserId;

    /**
     * 
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}